package com.bst.bsj.common.dal.daointerface;

import java.util.List;
import java.util.Map;

import com.bst.bsj.common.dal.dataobject.SeedlingWareHouse;
import com.sylinxsoft.tools.dao.CommonBaseDAO;

public interface SeedlingWareHouseDAO extends CommonBaseDAO {
  /*
   *总条数，条件查询
   */
  public Long getCounts(Map paramMap);
  /*
   *查询企业下的苗圃数
   */
  public Long getCountsByCom(Long companyNumber);

  /*
   * 分页查询
   */
  public List<SeedlingWareHouse> selectAll(Map paramMap, Long offset, Long length);

  /*
   * 根据ID查询对象
   */
  public SeedlingWareHouse getSeedlingWareHouse(Long id);

  /*
   *更新审核状态
   */
  public int update(SeedlingWareHouse seedlingWareHouse);
  
  public void deleteByParams(Map<String, Object> paramsMap);
}
